import { useEffect } from 'react'
import { useRouter } from 'next/router'

export default function StatusPage() {
  useEffect(() => {
    // Open in new tab and redirect current page back to previous page
    window.open('https://status.inkonchain.com/', '_blank')
    window.history.back()
  }, [])

  return (
    <div>
      Opening Status Page in new tab...
    </div>
  )
}
